import { createRouter, createWebHistory } from "vue-router";
import Add from '../views/Add.vue';
import Show from '../views/Show.vue';

const routes = [
    {
        path: "/",
        name: "Add",
        component: Add
    },
    {
        path: "/Show",
        name: "Show",
        component: Show
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router